package com.youlai.boot.factory.converter;

import com.youlai.boot.factory.model.entity.Customers;
import com.youlai.boot.factory.model.form.CustomersForm;
import org.mapstruct.Mapper;

/**
 * 客户对象转换器
 *
 * @author youlaitech
 * @since 2025-07-06 00:42
 */
@Mapper(componentModel = "spring")
public interface CustomersConverter{

    CustomersForm toForm(Customers entity);

    Customers toEntity(CustomersForm formData);
}